package com.ruoyi.article.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 文章详情 对象 ac_article_detail
 * 
 * @author rey
 * @date 2022-02-04
 */
public class ArticleDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 文章详情id */
    private Long articleDetailId;

    /** 文章markdown内容 */
    @Excel(name = "文章markdown内容")
    private String contentMd;

    /** 文章html内容 */
    @Excel(name = "文章html内容")
    private String contentHtml;

    /** 文章id */
    @Excel(name = "文章id")
    private Long articleId;

    public void setArticleDetailId(Long articleDetailId) 
    {
        this.articleDetailId = articleDetailId;
    }

    public Long getArticleDetailId() 
    {
        return articleDetailId;
    }
    public void setContentMd(String contentMd) 
    {
        this.contentMd = contentMd;
    }

    public String getContentMd() 
    {
        return contentMd;
    }
    public void setContentHtml(String contentHtml) 
    {
        this.contentHtml = contentHtml;
    }

    public String getContentHtml() 
    {
        return contentHtml;
    }
    public void setArticleId(Long articleId) 
    {
        this.articleId = articleId;
    }

    public Long getArticleId() 
    {
        return articleId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("articleDetailId", getArticleDetailId())
            .append("contentMd", getContentMd())
            .append("contentHtml", getContentHtml())
            .append("articleId", getArticleId())
            .toString();
    }
}
